{%include file="m.index.header.tpl.php"%}
<!--主体部分-->
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-top:10px;margin-bottom:20px;">
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <div class="col-sm-10  text-center">
          <div class="col-xs-6"><a type="button" class="btn btn-primary " href="index.php?a=student.studentlist&student_no={%$student_no%}&student_name={%$student_name%}">基本信息</a> </div>
          <div class="col-xs-6"><a type="button" class="btn btn-default" href="index.php?a=student.studentrestslist&student_no={%$student_no%}&student_name={%$student_name%}">其他信息</a></div>
        </div>
      </div>
    </div>
  </div>
  <div class="row" style="margin-right:10%;">
    
  </div>
  <form action="" method="get">
      <div class="col-sm-12 distance hierarchy" >
        <div class="form-group">
          <label for="inputEmail3" class="col-sm-2 control-label">姓名:</label>
          <div class="col-sm-10">
            <input type="text" id="" class="form-control " name="student_name" value="{%$student_name%}" >
          </div>
        </div>
      </div>
      <div class="col-sm-12 distance hierarchy2" >
        <div class="form-group">
          <label for="inputEmail3" class="col-sm-2 control-label">学号:</label>
          <div class="col-sm-10">
            <input type="text" id="" class="form-control " name="student_no" value="{%$student_no%}"  >
          </div>
        </div>
      </div>
      <div class="col-xs-12  distance hierarchy2">
        <div class="form-group text-center" style="padding-top:0px;">
		  <input type="hidden" name="a" value="student.studentlist">
          <button type="submit" class="btn btn-success" style="width:80%">搜索</button>
        </div>
      </div>
    </form>
  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;" >
  {%foreach from=$student_lists key=key item=value%}
    <table class="table table-striped table-bordered "  id="middles" >
      <tr>
        <td>姓名</td>
        <td>{%$value.student_name%}</td>
      </tr>
      <tr>
        <td>性别</td>
        <td>{%$value.student_sex%}</td>
      </tr>
      <tr>
        <td>出生日期</td>
        <td>{%$value.student_birth%}</td>
      </tr>
      <tr>
        <td>身份证号</td>
        <td>{%$value.student_card%}</td>
      </tr>
      <tr>
        <td>民族</td>
        <td>{%$value.student_nation%}</td>
      </tr>
      <tr>
        <td>户口性质</td>
        <td>{%$value.student_registered%}</td>
      </tr>
      <tr>
        <td>联系方式</td>
        <td>{%$value.student_tel%}</td>
      </tr>
    </table>
	{%/foreach%}
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->
{%include file="m.index.footer.tpl.php"%} 